Skip to content

[Dashboards as code] Make Dashboard API endpoints available as Technical Preview#256302

Merged
nickpeihl merged 18 commits into
elastic:mainfrom
nickpeihl:public-dashboard-api-endpoints
Apr 8, 2026
Merged

[Dashboards as code] Make Dashboard API endpoints available as Technical Preview#256302
nickpeihl merged 18 commits into
elastic:mainfrom
nickpeihl:public-dashboard-api-endpoints

Conversation

@nickpeihl
Copy link
Copy Markdown
Contributor

@nickpeihl nickpeihl commented Mar 5, 2026

Fixes #256073

Summary

Introduces the Dashboard API endpoints as Technical Preview

Dashboard API documentation will be published as OpenAPI specifications and available in the Kibana API Documentation. Dashboard API create/update endpoints are initially limited to a select few types including Lens, markdown, synthetics, and SLO panels. Support for additional panel types will be available in future updates.

OAS documentation

To build documentation bundle for public route

  • Add server.oas.enabled: true to config/kibana.dev.yml
  • Run node scripts/capture_oas_snapshot --include-path /api/dashboards --no-serverless --update

Blocked by

@nickpeihl nickpeihl added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes v9.4.0 labels Mar 5, 2026
@nreese
Copy link
Copy Markdown
Contributor

nreese commented Mar 24, 2026

/ci

@nreese
Copy link
Copy Markdown
Contributor

nreese commented Mar 24, 2026

Added OAS documentation section to description. This PR is really useful for capturing OAS documenation bundle

@nickpeihl
Copy link
Copy Markdown
Contributor Author

/ci

@nickpeihl nickpeihl marked this pull request as ready for review April 2, 2026 23:33
@nickpeihl nickpeihl requested review from a team as code owners April 2, 2026 23:33
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

Copy link
Copy Markdown
Contributor

@dominiqueclarke dominiqueclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actionable obs changes LGTM

@nreese nreese self-requested a review April 6, 2026 14:31
Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kibana-presentation changes LGTM
code review only

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot requested a review from a team as a code owner April 7, 2026 12:46
@botelastic botelastic Bot added the Team:One Workflow Team label for One Workflow (Workflow automation) label Apr 7, 2026
@nickpeihl nickpeihl removed the request for review from a team April 7, 2026 15:46
@nickofthyme nickofthyme requested a review from a team as a code owner April 7, 2026 15:53
@nickpeihl nickpeihl enabled auto-merge (squash) April 8, 2026 01:19
@nickpeihl nickpeihl merged commit ef1f4c3 into elastic:main Apr 8, 2026
18 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
dashboard 866.7KB 866.6KB -16.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
lens 83.4KB 83.4KB +7.0B

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes Team:One Workflow Team label for One Workflow (Workflow automation) Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dashboards as code] Make APIs public

8 participants